package com.ruoyi.locate.service;

import java.util.List;
import com.ruoyi.locate.domain.WWarehouseMapGrid;

/**
 * 仓位网格Service接口
 * 
 * @author ruoyi
 * @date 2025-01-06 17:39:13
 */
public interface IWWarehouseMapGridService 
{
    /**
     * 查询仓位网格
     * 
     * @param gridId 仓位网格主键
     * @return 仓位网格
     */
    public WWarehouseMapGrid selectWWarehouseMapGridByGridId(Long gridId);

    /**
     * 查询仓位网格列表
     * 
     * @param wWarehouseMapGrid 仓位网格
     * @return 仓位网格集合
     */
    public List<WWarehouseMapGrid> selectWWarehouseMapGridList(WWarehouseMapGrid wWarehouseMapGrid);

    /**
     * 新增仓位网格
     * 
     * @param wWarehouseMapGrid 仓位网格
     * @return 结果
     */
    public int insertWWarehouseMapGrid(WWarehouseMapGrid wWarehouseMapGrid);

    /**
     * 修改仓位网格
     * 
     * @param wWarehouseMapGrid 仓位网格
     * @return 结果
     */
    public int updateWWarehouseMapGrid(WWarehouseMapGrid wWarehouseMapGrid);

    /**
     * 批量删除仓位网格
     * 
     * @param gridIds 需要删除的仓位网格主键集合
     * @return 结果
     */
    public int deleteWWarehouseMapGridByGridIds(Long[] gridIds);

    /**
     * 删除仓位网格信息
     * 
     * @param gridId 仓位网格主键
     * @return 结果
     */
    public int deleteWWarehouseMapGridByGridId(Long gridId);

    /**
     * 清空w_warehouse_map_grid
     */
    public int cleanWarehouseMapGrid();

    /**
     * 查询仓位栅格
     *
     * @param parentId 仓位栅格父Id
     * @return 仓位栅格
     */
    public List<WWarehouseMapGrid> selectWWarehouseMapGridByparentId(Long parentId);
}
